<template>
  <div id="app">
    <div class="zhtt-layout-left">
      <ul>
        <li>
          <router-link to="/">HelloWord</router-link>
        </li>
        <li>
          <router-link to="/demo01-component-params/demo01">父向子组件传值</router-link>
        </li>
        <li>
          <router-link to="/demo01-component-params/demo02">父向子组件传值（对象）</router-link>
        </li>
      </ul>
    </div>
    <div class="zhtt-layout-right">
      <router-view/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
  html,body{
    height: 100%;width:100%;margin:0;padding:0;
  }
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  display: flex;
  flex-direction: row;
  height: 100%;
  overflow: auto;
}
  .zhtt-layout-left{
    width:240px;
    background: #f2f2f2;
    height: 100%;
    overflow: auto;
  }
  .zhtt-layout-right{
    flex: 1;
    height: 100%;
    overflow: auto;
  }
</style>
